package com.ts.cloudalibabaconsumer8084.service;

import com.ts.cloudalibabacommons.domain.JsonResult;
import com.ts.cloudalibabaconsumer8084.service.impl.FeignServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Service
@FeignClient(value = "nacos-provider",fallback = FeignServiceImpl.class)
public interface IFeignService {
    @GetMapping("/info/{id}")
    JsonResult<String> msbSql(@PathVariable("id") Long id);
}
